package com.mimiwang.chat.service;

import com.github.pagehelper.PageInfo;
import com.mimiwang.chat.entity.Talk;
import com.mimiwang.chat.entity.TalkVo;


/**
 * @AUTHOR:游李滨
 * @DATE:2022/10/6 21:33
 */

public interface ChatTalkService {

    int insertOne(Talk talk);
    PageInfo<TalkVo> selectAll(long sender, long receiver,int pageNum);
}
